Tables [dbo].[PipelineStage]
Properties
PropertyValue
Created10:31:32 AM Tuesday, March 02, 2010
Last Modified11:40:05 AM Monday, February 20, 2012
Columns
NameData TypeMax Length (Bytes)Allow Nulls
Cluster Primary Key PK_PipelineStage: PipelineStageKeyPipelineStageKeyuniqueidentifier16
No
Namenvarchar(50)100
No
Foreign Keys FK_PipelineStage_Pipeline: [dbo].[Pipeline].PipelineKeyIndexes AK_PipelineStage_PipelineKey_ComponentKey: PipelineKey\ComponentKeyPipelineKeyuniqueidentifier16
No
Foreign Keys FK_PipelineStage_ComponentRegistry: [dbo].[ComponentRegistry].ComponentKeyIndexes AK_PipelineStage_PipelineKey_ComponentKey: PipelineKey\ComponentKeyComponentKeyuniqueidentifier16
No
Sequenceint4
No
MarkedForDeleteOndatetime8
Yes
Indexes Indexes
NameColumnsUnique
Cluster Primary Key PK_PipelineStage: PipelineStageKeyPK_PipelineStagePipelineStageKey
Yes
AK_PipelineStage_PipelineKey_ComponentKeyPipelineKey, ComponentKey
Yes
Foreign Keys Foreign Keys
NameColumns
FK_PipelineStage_ComponentRegistryComponentKey->[dbo].[ComponentRegistry].[ComponentKey]
FK_PipelineStage_PipelinePipelineKey->[dbo].[Pipeline].[PipelineKey]
SQL Script
CREATE TABLE [dbo].[PipelineStage]
(
[PipelineStageKey] [uniqueidentifier] NOT NULL,
[Name] [nvarchar] (50) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
[PipelineKey] [uniqueidentifier] NOT NULL,
[ComponentKey] [uniqueidentifier] NOT NULL,
[Sequence] [int] NOT NULL,
[MarkedForDeleteOn] [datetime] NULL
) ON [PRIMARY]

GO
ALTER TABLE [dbo].[PipelineStage] ADD CONSTRAINT [PK_PipelineStage] PRIMARY KEY CLUSTERED ([PipelineStageKey]) ON [PRIMARY]
GO
ALTER TABLE [dbo].[PipelineStage] ADD CONSTRAINT [AK_PipelineStage_PipelineKey_ComponentKey] UNIQUE NONCLUSTERED ([PipelineKey], [ComponentKey]) ON [PRIMARY]
GO
ALTER TABLE [dbo].[PipelineStage] ADD CONSTRAINT [FK_PipelineStage_ComponentRegistry] FOREIGN KEY ([ComponentKey]) REFERENCES [dbo].[ComponentRegistry] ([ComponentKey])
GO
ALTER TABLE [dbo].[PipelineStage] ADD CONSTRAINT [FK_PipelineStage_Pipeline] FOREIGN KEY ([PipelineKey]) REFERENCES [dbo].[Pipeline] ([PipelineKey])
GO
Uses